package java51_19;

public class Student implements Comparable<Student> {
	private String name, tele;
	private int age;
	private Sex sex;

	private XuexiZhuangtai zhuangtai;

	public XuexiZhuangtai getZhuangtai() {
		return zhuangtai;
	}

	public void setZhuangtai(XuexiZhuangtai zhuangtai) {
		this.zhuangtai = zhuangtai;
	}

	public Student() {

	}

	public Student(String name, String tele, int age, Sex sex) {
		super();
		this.name = name;
		this.tele = tele;
		this.age = age;
		this.sex = sex;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTele() {
		return tele;
	}

	public void setTele(String tele) {
		this.tele = tele;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	@Override
	public String toString() {
		return "Student [name=" + name + ", tele=" + tele + ", age=" + age
				+ ", sex=" + sex + "," + zhuangtai + "]";
	}

	@Override
	public int compareTo(Student o) {
		// TODO 自动生成的方法存根
		return 0;
	}
}
